package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author MR.XU
 * @email 260139486@qq.com
 * @date 2021-01-18 15:59:47
 */
@Data
@TableName("tb_goods")
@ApiModel(value = "Goods对象", description = "")
public class GoodsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
		@ApiModelProperty(value = "",example = "1")
private Integer id;
	/**
	 * 产品名称
	 */
		@ApiModelProperty(value = "产品名称")
private String name;
	/**
	 * 描述
	 */
		@ApiModelProperty(value = "描述")
private String content;
	/**
	 * 现价
	 */
		@ApiModelProperty(value = "现价")
private BigDecimal price;
	/**
	 * 创建时间
	 */
		@ApiModelProperty(value = "创建时间",example = "1611127749")
private Integer createTime;
	/**
	 * 缩略图
	 */
		@ApiModelProperty(value = "缩略图")
private String thumbnail;
	/**
	 * 是否是新品
	 */
		@ApiModelProperty(value = "是否是新品")
private Integer type;
	/**
	 * 0下架，1上架
	 */
		@ApiModelProperty(value = "0下架，1上架",example = "1")
private Integer status;
	/**
	 * 商品分类id
	 */
		@ApiModelProperty(value = "商品分类id",example = "1")
private Integer categoryId;
	/**
	 * 排序
	 */
		@ApiModelProperty(value = "排序",example = "1")
private Integer sort;
	/**
	 * 详情图
	 */
		@ApiModelProperty(value = "详情图")
private String detailsPic;
	/**
	 * 轮播图
	 */
		@ApiModelProperty(value = "轮播图")
private String bannerPic;
	/**
	 * 参数图
	 */
		@ApiModelProperty(value = "参数图")
private String paramPic;
	/**
	 * 销售量
	 */
		@ApiModelProperty(value = "销售量",example = "1")
private Integer salesNum;
	/**
	 * 视频链接
	 */
		@ApiModelProperty(value = "视频链接")
private String videoid;
	/**
	 * 0:未删除，1：删除
	 */
		@ApiModelProperty(value = "0:未删除，1：删除",example = "1")
private Integer isDel;

}
